import httpInstance from "@/utils/http";

//封装获取banner轮播图
export const getBannerApi = (distributionSite) => {
  return httpInstance.get('/home/banner',{
    params:{
      distributionSite
    }
  })
}

//新鲜好物
export const findNewAPI = () => {
  return httpInstance.get('/home/new')
}

//人气推荐
export const getHotAPI = () => {
  return httpInstance.get('/home/hot')
}

//获取所有商品模块
export const getGoodsAPI = () => {
  return httpInstance.get('/home/goods')
}
